.PHONY:all
all:a.out sql
a.out:http_server.c
	gcc -g -o $@ $^ -lpthread
sql:select.c
	gcc -g -o $@ $^ -L /usr/lib64/mysql -lmysqlclient 
.PHONY:clean
clean:
	rm -f a.out sql

